package org.formal.system.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.formal.common.base.BaseEntity;

/**
 * @ClassName RoleEntity
 * @Description 
 * @author jiangyan
 * @date 2017-11-14 16:32:47
 * @version 1.0 
 */
@Data
@Table(name = "sys_role")
@EqualsAndHashCode(callSuper = true)
public class RoleEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 *  角色名称
	 */
	@Column(name="ROLE_NAME")
	private String roleName;
	
	/**
	 *  是否开启 1启用 0禁用
	 */
	@Column(name="IS_OPEN")
	private Boolean isOpen;
	
	@Column(name="LEVEL")
	private Integer level;

}